package com.gitee.lp.dm;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface DmMapper {

    Long count(@Param("table") String table);

    void del(@Param("table") String table);

    void install(@Param("table") String table, @Param("list") List<HashMap<String, Object>> list);

    void installOne(@Param("table") String table, @Param("map") HashMap<String, Object> map);

}
